
clear all; close all;

try
Screen('Preference', 'VisualDebuglevel', 3);

screenNum=0;
[wPtr,rect]=Screen('OpenWindow',screenNum);
HideCursor;
white=WhiteIndex(wPtr);
Screen('FillRect',wPtr,white);

showimage('m',2,wPtr,5)  % muestra el hombre 2 por 5 segundos

Screen('CloseAll');
ShowCursor;
catch
    
Screen('CloseAll');
ShowCursor;
rethrow(lasterror)

end